package com.export;

import com.export.thread.PopThread_UNITED;
import com.export.thread.TestThread;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
//@ComponentScan(basePackages="com.export")
@EnableAutoConfiguration
public class ExportApplication implements CommandLineRunner {

	public static void main(String[] args) {
		SpringApplication.run(ExportApplication.class, args);
	}

	@Override
	public void run(String... strings) throws Exception {
		new PopThread_UNITED().start();
//		new TestThread().start();
	}
	
}
